package com.sj.purchase.modules.purchase.domain;

import org.jeecgframework.poi.excel.annotation.Excel;

import javax.persistence.Embeddable;
import javax.persistence.MappedSuperclass;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by icodebug on 17-5-22.
 */
@MappedSuperclass
@Embeddable
public class PurchaseId implements Serializable{
    @Excel(name = "sku", width = 35)
    private String skuNo;
    @Excel(name = "时间", width = 35)
    @Temporal(TemporalType.DATE)
        private Date createDate;//?同步时间


    public String getSkuNo() {
        return skuNo;
    }

    public void setSkuNo(String skuNo) {
        this.skuNo = skuNo;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

}
